/**
 * 
 */
package de.fuberlin.dbs.wm.dao.model;

/**
 * represents the player use entity of the dbm
 */
public class Use {
	private int from;
	private int to;
	private String fromPhaseId;
	private String toPhaseId;
	private int playerId;
	private int matchId;
	
	public Use() {};
	public Use(int from, int to, String fromPhaseId, String toPhaseId, int playerId, int matchId) {
		setFrom(from);
		setTo(to);
		setFromPhaseId(fromPhaseId);
		setToPhaseId(toPhaseId);
		setPlayerId(playerId);
		setMatchId(matchId);
	}
	
	public int getFrom() {
		return from;
	}
	public void setFrom(int from) {
		this.from = from;
	}
	public int getTo() {
		return to;
	}
	public void setTo(int to) {
		this.to = to;
	}
	public String getFromPhaseId() {
		return fromPhaseId;
	}
	public void setFromPhaseId(String fromPhaseId) {
		this.fromPhaseId = fromPhaseId;
	}
	public String getToPhaseId() {
		return toPhaseId;
	}
	public void setToPhaseId(String toPhaseId) {
		this.toPhaseId = toPhaseId;
	}
	public int getPlayerId() {
		return playerId;
	}
	public void setPlayerId(int playerId) {
		this.playerId = playerId;
	}
	public int getMatchId() {
		return matchId;
	}
	public void setMatchId(int matchId) {
		this.matchId = matchId;
	}
}
